package edu.ccut.saturn.component;

/**
 * 定义了日志操作接口。
 * 
 * @author 温建
 * 
 * @version 1.0 2008.09.09
 *
 */
public interface ILoggerListener {
	
	public void info(String key, String message);

	public void info(String key, String message, Throwable throwable);

	public void debug(String key, String message, Throwable throwable);

	public void debug(String key, String message);

	public void error(String key, String message, Throwable throwable);

	public void error(String key, String message);

	public void warn(String key, String message, Throwable throwable);

	public void warn(String key, String message);

	public void fatal(String key, String message, Throwable throwable);

	public void fatal(String key, String message);

	public void setLevel(String key, String level);

	public String getLevel(String key);
}
